package cn.lysj.framework.order.dto;

import lombok.Data;

/**
 * @author zk
 * @date 2018/3/29 10:57
 * @Description 用于包装发起支付所需的参数
 */
@Data
public class PayParam {

    private String attach; //授权码
    private String mchId; //商户号
    private String openid; //微信用户唯一标识
    private String nonceStr; //随机字符串
    private String outTradeNo; //订单号
    private int totalFee; //支付金额
    private String orgNo; //机构号
    private String deviceInfo; //终端号
    private String appKey;//私钥


    @Override
    public String toString() {
        return "PayParam{" +
                "attach='" + attach + '\'' +
                ", mchId='" + mchId + '\'' +
                ", openid='" + openid + '\'' +
                ", nonceStr='" + nonceStr + '\'' +
                ", outTradeNo='" + outTradeNo + '\'' +
                ", totalFee=" + totalFee +
                ", orgNo='" + orgNo + '\'' +
                ", deviceInfo='" + deviceInfo + '\'' +
                ", appKey='" + appKey + '\'' +
                '}';
    }
}
